<?php


namespace Tbf\Bundle\YntAuthBundle\Model;


class LoginResponse {
    /**
     * @var 返回的token
     */
    protected $token;
    /**
     * 额外数据
     * @var array
     */
    protected $extra_data;
    /**
     * @var Media
     */
    protected $media;
    /**
     * 不一定有
     * @var string
     */
    protected $mediaUserID;
    /**
     * 事务id(内部生成的)
     * @var string
     */
    protected $transaction_id;
    /**
     * @var string
     */
    protected $screenName;
    /**
     * @param mixed $token
     */
    public function setToken($token)
    {
        $this->token = $token;
    }

    /**
     * @return mixed
     */
    public function getToken()
    {
        return $this->token;
    }

    /**
     * @param array $extra_data
     */
    public function setExtraData($extra_data)
    {
        $this->extra_data = $extra_data;
    }

    /**
     * @return array
     */
    public function getExtraData()
    {
        return $this->extra_data;
    }


    /**
     * @param string $mediaUserID
     */
    public function setMediaUserID($mediaUserID)
    {
        $this->mediaUserID = $mediaUserID;
    }

    /**
     * @return string
     */
    public function getMediaUserID()
    {
        return $this->mediaUserID;
    }

    /**
     * @param \Tbf\Bundle\YntAuthBundle\Model\Media $media
     */
    public function setMedia($media)
    {
        $this->media = $media;
    }

    /**
     * @return Media
     */
    public function getMedia()
    {
        return $this->media;
    }

    /**
     * @param string $transaction_id
     */
    public function setTransactionId($transaction_id)
    {
        $this->transaction_id = $transaction_id;
    }

    /**
     * @return string
     */
    public function getTransactionId()
    {
        return $this->transaction_id;
    }

    /**
     * @param string $screenName
     */
    public function setScreenName($screenName)
    {
        $this->screenName = $screenName;
    }

    /**
     * @return string
     */
    public function getScreenName()
    {
        return $this->screenName;
    }

}